<template>
  <div>
    <h1>学生About</h1>
    <router-link active-class="active" to="/Student/News">新闻</router-link>
    <router-link active-class="active" to="/Student/Message">消息</router-link>
    <router-view></router-view>
  </div>
</template>

<script>

export default {
  name: 'Student'
}
</script>

<style scoped>
.active {
  background-color: tomato;
}
</style>